package com.blue.pojo;

import java.util.Date;

public class SimpleValue {
    private int age1;
    private Integer age2;

    private boolean flag1;
    private Boolean flag2;

    private char ch1;
    private Character ch2;

    private Season season;

    private String username;

    private Class clazz;

    private Date birthday;

    public SimpleValue() {
    }

    public SimpleValue(int age1, Integer age2, boolean flag1, Boolean flag2, char ch1, Character ch2, Season season, String username, Class clazz, Date birthday) {
        this.age1 = age1;
        this.age2 = age2;
        this.flag1 = flag1;
        this.flag2 = flag2;
        this.ch1 = ch1;
        this.ch2 = ch2;
        this.season = season;
        this.username = username;
        this.clazz = clazz;
        this.birthday = birthday;
    }

    @Override
    public String toString() {
        return "SimpleValue{" +
                "age1=" + age1 +
                ", age2=" + age2 +
                ", flag1=" + flag1 +
                ", flag2=" + flag2 +
                ", ch1=" + ch1 +
                ", ch2=" + ch2 +
                ", season=" + season +
                ", username='" + username + '\'' +
                ", clazz=" + clazz +
                ", birthday=" + birthday +
                '}';
    }

    public int getAge1() {
        return age1;
    }

    public void setAge1(int age1) {
        this.age1 = age1;
    }

    public Integer getAge2() {
        return age2;
    }

    public void setAge2(Integer age2) {
        this.age2 = age2;
    }

    public boolean isFlag1() {
        return flag1;
    }

    public void setFlag1(boolean flag1) {
        this.flag1 = flag1;
    }

    public Boolean getFlag2() {
        return flag2;
    }

    public void setFlag2(Boolean flag2) {
        this.flag2 = flag2;
    }

    public char getCh1() {
        return ch1;
    }

    public void setCh1(char ch1) {
        this.ch1 = ch1;
    }

    public Character getCh2() {
        return ch2;
    }

    public void setCh2(Character ch2) {
        this.ch2 = ch2;
    }

    public Season getSeason() {
        return season;
    }

    public void setSeason(Season season) {
        this.season = season;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }
}
